/*
 *  SynthKit.h
 *  CocoaSynth
 *
 *  Created by Pierre DUCHENE on 12/02/10.
 *  Copyright 2010 Pierre DUCHENE. All rights reserved.
 *
 */

// System
#pragma mark -
#pragma mark System

#define kDefaultSampleRate		48000	// 48 Khz
#define kDefaultSampleSize		512
#define kDefaultSampleDuration	((1/kDefaultSampleRate)*kDefaultSampleSize) // Aproximately 10ms

#define kLowFrequency			48000
#define kMiddleFrequency		96000
#define kHightFrequency			192000

// Audio Wrapper
#pragma mark -
#pragma mark Audio Wrapper

#define kBufferSize				48000


// Audio Output
#pragma mark -
#pragma mark Audio Output

#define kBytesPerPacket			4
#define kFramesPerPacket		1
#define kBytesPerFrame			4
#define kChannelsPerFrame		2
#define kBitsPerChannel			32


// VCF Settings
#pragma mark -
#pragma mark Module VCF Settings

#define kVCFMin			-5
#define kVCFMax			5
#define kVCFDefault		0

// ASDR Settings
#pragma mark -
#pragma mark Module ADSR Settings

#define kADSRMin			0
#define kADSRMax			10
#define kADSRDefaultAttack	0.05
#define kADSRDefaultDecay	0.025
#define kADSRDefaultSustain	0.7
#define kADSRDefaultRelease	0.05

// VCA Settings
#pragma mark -
#pragma mark Module VCA Settings

#define kVCADefaultInitialGain 1

// Signal Visualizer Settings
#pragma mark -
#pragma mark Signal Visualizer Settings

#define kNbSampleShown 1